package com.geekaca.db.mapper;

import com.geekaca.db.pojo.Order;
import com.geekaca.db.pojo.OrderGood;
import org.apache.ibatis.annotations.Param;

public interface OrderMapper {
    //订单新增
    int addOrder(Order order);

    // 根据传递过来的迈段决定更新哪些列
    int updateOrderDynamic(Order order);

    int deleteByIds(@Param("myIds") int[] ids);

    // tb_order_goods 新增
    int addTbOrderGoods(OrderGood orderGood);

}
